<!DOCTYPE html>
<HTML>
<HEAD>
    <meta charset='utf-8'>
    <link href ="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.min.css"  rel ="stylesheet" type = "text/css"/>
    <link rel ="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.25.0/codemirror.min.css">

    <link href ="https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.8.5/css/froala_editor.pkgd.min.css" rel = "stylesheet" type = "text/css"/>
    <link href ="https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.8.5/css/froala_style.min.css" rel =stylesheet type ="text/css" />
</HEAD>

<body>
<textarea></textarea>
<script type =" text/javascript" src ="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script type = "text/javascript" src =" https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.25.0/codemirror.min.js"></script>
<script type ="text/javascript" src ="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.25.0/mode/xml/xml.min.js"></script>
<script type ="text/javascript" charset="utf-8" src = "https://cdnjs.cloudflare.com/ajax/libs/froala-editor/2.8.5/js/froala_editor.pkgd.min.js"></script>
<script src = './chan.js' charset="utf-8"> </script>
<script>
$(function(){
    $("textarea").froalaEditor({language:"zh_cn"})
})
</script>

</body>
</HTML>